<template>
  <!--图片播放-->
  <el-row :span="8" justify="center">
    <el-col>
      <el-carousel indicator-position="outside">
        <el-carousel-item v-for="item in urls">
          <el-image  :src="item.url" fit="contain">
          </el-image>
        </el-carousel-item>
      </el-carousel>
    </el-col>
  </el-row>
  <!--/图片播放-->
</template>

<script>
export default {
  name: "photoPlay",
  data() {
    return{
      urls: [
        {url: require("../../../assets/images/photoPlay/images3.jpg")}
        , {url: require('../../../assets/images/photoPlay/images4.jpg')}
        , {url: require('../../../assets/images/photoPlay/images6.jpeg')}]
    }
  }
}
</script>

<style scoped>
  .el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 150px;
    margin: 0;
  }

  .el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
  }

  .el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
  }
</style>